<?php

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#	FILE:			includes/external_constants.php
#	FUNCTION:		External Constants for the site that relate only to this project
#	AUTHOR:			Cameron Morrow
#	CREATED:		06/09/2005
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


$EXTERNAL_CONSTANTS = array();

# Number of results on a page when browsing
$ADMIN_BROWSING_PAGE_RESULTS = 40;


function contentHeader($text,$value,$flag) {
	if($flag==true){
		return "<form name=\"pdf\" id=\"pdf\" action=\"../site_specific/generateZipSample2.php?id=".$value."\" method=\"post\"><div class=\"ch\"><h2>".$text."<input type=\"submit\" value=\"GenerateContent\" name=\"downloadpdf\"/>&nbsp;&nbsp;<a href=\"../files/".$value.".zip\" style=\"color:white\">ZIP</a>".""."</h2></div></form>";//&nbsp;&nbsp;
	}
	else{
		return "<form name=\"pdf\" id=\"pdf\" action=\"../site_specific/generatePDF.php?id=".$value."\" method=\"post\"><div class=\"ch\"><h2>".$text."<input type=\"submit\" value=\"Download\" name=\"downloadpdf\"/>"."</h2></div></form>";
	}
}

function startContentBox() {
	return "<div class=\"c\">";
}

function endContentBox() {
	return "</div>";
}

?>